<div class="small_margin_bottom">
  <%= raw(meeting.description) %>
</div>

<strong>
  <%= t('common.form.location') %>:
</strong>

<% if meeting.location.match(/^https?:\/\/|www\./) %>
  <%= link_to meeting.location, meeting.location %>
<% else %>
  <%= link_to meeting.location,
    "https://www.google.com/maps/place/" + meeting.location %>
<% end %>
<br>
<strong>
  <%= t('common.date') %>
</strong>
<%= meeting.date %>
<br>
<strong>
  <%= t('meetings.info.meeting_time') %>:
</strong>
<%= meeting.time %>

<div class="notification_wrapper">
  <strong class="tip_notifications_button">
    <i class="fa fa-list small_margin_right"></i>
    <% if local_assigns[:show_group] %>
      <%= t('meetings.info.members_of_group_html',
            count: meeting.members.count,
            group: link_to(meeting.group.name, meeting.group)) %>
    <% else %>
      <%= t('members', count: meeting.members.count) %>
    <% end %>
  </strong>

  <%= render partial: '/notifications/members', locals: { group: meeting } %>
</div>

<strong>
  <%= get_meeting_members(meeting) %>
</strong>

<% if meeting.leaders.include? current_user %>
  <br>
  <br>
  <i class="fa fa-trash-o action"></i>
  <%= link_to t('meetings.info.cancel_meeting'), meeting, method: :delete, data: { confirm: t('common.actions.confirm') } %>
<% end %>
